Part Number Hot Search : 
01LT1 3KP11 TC144 T1226T 20M16 2N1650 PN16257 W4DC55P
Product Description
Full Text Search
 

To Download DRPIC166X Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 DRPIC166X
High Performance Configurable 8-bit RISC Microcontroller ver 2.15
OVERVIEW
The DRPIC166X is a low-cost, high performance, 8-bit, fully static soft IP Core, dedicated for operation with fast (typically onchip) dual ported memory. The core has been designed with a special concern about low power consumption. DRPIC166X soft core is softwarecompatible with the industry standard PIC16C6X. It implements an enhanced Harvard architecture (i.e. separate instruction and data memories) with independent address and data buses. The 14 bit program memory and 8-bit dual port data memory allow instruction fetch and data operations to occur simultaneously. The advantage of this architecture is that instruction fetch and memory transfers can be overlapped by multi stage pipeline, so that the next instruction can be fetched from program memory while the current instruction is executed with data from the data memory. The DRPIC166X architecture is 4 times faster compared to standard architecture. So most instructions are executed within 1 system clock period, except the instructions which directly operates on program counter PC (GOTO, CALL, RETURN), this situation require the pipeline to be cleared and subsequently refilled. This operation takes additional one clock cycle. The DRPIC166X Microcontroller fits perfectly in applications ranging from highAll trademarks mentioned in this document are trademarks of their respective owners.
speed automotive and appliance motor control to low-power remote transmitters/receivers, pointing devices and telecom processors. Built-in power save mode make this IP perfect for applications where power consumption is critical. DRPIC166X is delivered with fully automated testbench and complete set of tests allowing easy package validation at each stage of SoC design flow
CPU FEATURES
Software compatible with industry standard PIC16C6X Pipelined Harvard architecture 4 times faster compared to original implementation 35 - 14 bit wide instructions Up to 512 bytes of internal Data Memory Up to 64K bytes of Program Memory Configurable hardware stack Power saving SLEEP mode Fully synthesizable, static synchronous design with no internal tri-states Technology Code independent HDL Source
1.4 GHz virtual clock frequency in a 0.18u technological process
http://www.DigitalCoreDesign.com http://www.dcd.pl
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.
PERIPHERALS
Four 8 bit I/O ports
Four 8-bit corresponding TRIS registers Interrupt feature on PORTB(7:4) change
Program Counter (PC) Program Memory Data Memory Special Function Registers (SFRs) Hardware Stack and Stack Pointer Hardware execution breakpoints Program Memory Data Memory Special Function Registers (SFRs) Hardware breakpoints activated at a certain Program address (PC) Address by any write into memory Address by any read from memory Address by write into memory a required data Address by read from memory a required data Three wire communication interface
Timer 0
8-bit timer/counter Readable and Writable 8-bit software programmable prescaler Internal or external clock select Interrupt generation on timer overflow Edge select for external clock
Timer 1
16-bit timer/counter 3-bit prescaler Internal or external clock select Interrupt generation on timer overflow
LICENSING
Comprehensible and clearly defined licensing methods without royalty fees make using of IP Core easy and simply. Single Design license allows use IP Core in single FPGA bitstream and ASIC implementation. Unlimited Designs, One Year licenses allow use IP Core in unlimited number of FPGA bitstreams and ASIC implementations. In all cases number of IP Core instantiations within a design, and number of manufactured chips are unlimited. There is no time restriction except One Year license where time of use is limited to 12 months. Single Design license for
VHDL,
Timer 2
8-bit timer with prescaler
CCP - Compare-Capture-PWM
16 Bit Compare/Capture operations 10-bit resolution PWM output
USART
Asynchronous - full duplex Synchronous - half duplex Master/Slave
Watchdog Timer
Configurable Time out period 7-bit software programmable prescaler Dedicated independent Watchdog Clock input
Interrupt Controller
Seven individually maskable Interrupt sources Two external interrupts - INT Port B[7:4] change Five internal interrupts - TIMERS 0, 1, 2, USART
Verilog source code called HDL
Source
Encrypted, or plain text EDIF called Netlist
One Year license for
Encrypted Netlist only
DoCDTM debug unit
Processor execution control Run Halt Step into instruction Skip instruction Read-write all processor contents
Unlimited Designs license for
HDL Source Netlist
Upgrade from
Single Design to Unlimited Designs HDL Source to Netlist http://www.DigitalCoreDesign.com http://www.dcd.pl
All trademarks mentioned in this document are trademarks of their respective owners.
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.
DELIVERABLES
Source code: VHDL Source Code or/and VERILOG Source Code or/and Encrypted, or plain text EDIF netlist VHDL & VERILOG test bench environment Active-HDL automatic simulation macros ModelSim automatic simulation macros Tests with reference responses Technical documentation Installation notes HDL core specification Datasheet Synthesis scripts Example application Technical support IP Core implementation support 3 months maintenance


SYMBOL
clk clkwdt por mclr prgdata(13:0) ramdatai(7:0) prgaddr(15:0) ramdatao(7:0) rdaddr(8:0) wraddr(8:0) ramwe ramoe sleep
int t0cki t1cki ccp1i rxdi txcki portai(7:0) portbi(7:0) portci(7:0) portdi(7:0)

ccp1o rxdo txcko portao(7:0) portbo(7:0) portco(7:0) portdo(7:0) trisa(7:0) trisb(7:0) trisc(7:0) trisd(7:0)
Delivery the IP Core updates, minor and major versions changes Delivery the documentation updates Phone & email support
CONFIGURATION
The following parameters of the DRPIC166X core can be easy adjusted to requirements of dedicated application and technology. Configuration of the core can be prepared by effortless changing appropriate constants in package file. There is no need to change any parts of the code.
* Number of hardware stack levels 1-16 default 8 synchronous asynchronous used unused used / width unused used unused used unused used unused used unused used unused
clk clkwdt por mclr prgdata[13:0] ramdati[7:0] Int t0cki t1cki ccp1i rxdti txcki portxi[7:0] docddatai
docddatai
docddatao docdclk TM prgdatao(13:0) DoCD Interface prgwe
PINS DESCRIPTION
PIN TYPE
input input input input input input input input input input input input input input
* Memories type * SLEEP mode * WATCHDOG Timer * Timer 0, 1, 2 system * Compare Capture PWM * USART * PORTS A,B,C,D * DoCD
TM
DESCRIPTION
Global clock Watchdog clock Global reset Power On Reset User reset Data bus from program memory Data bus from int. data memory External interrupt Timer 0 input Timer 1 input Compare Capture channel input USART serial data input USART serial clock input Port A, B, C, D input DoCDTM Debugger input
Debug Unit
All trademarks mentioned in this document are trademarks of their respective owners.
http://www.DigitalCoreDesign.com http://www.dcd.pl
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.
prgaddr[15:0] ramdatao[7:0] rdaddr[8:0] wraddr[8:0] ramwe ramoe sleep ccp1o txcko rxdto portxo[7:0] trisx[7:0] docddatao docdclk prgdatao[13:0] prgwe
output Program memory address bus output Data bus for internal data memory output RAM read address bus output RAM write address bus output Data memory write output Data memory output enable Output Sleep signal Output Compare Capture channel output Output USART serial clock output Output USART serial data output Output Port A, B, C, D outputs Output Ports A, B, C, D data direction pins Output DoCDTM Debugger data output Output DoCD
TM
Indirect addressing is possible by using the INDF register. Any instruction using INDF register actually accesses data pointed to by the file select register FSR. Reading INDF register indirectly will produce 00h. Writing to the INDF register indirectly results in a nooperation. An effective 9-bit address is obtained by concatenating the IRP bit (STATUS) and the 8-bit FSR register.
clk por
Hardware Stack
ALU
Clock line
Output Program Memory data output Output Program Memory write enable
mclr sleep prgdata prgaddr int
Control Unit
RAM Controller
ramdatai ramdatao rdaddr wraddr ramwe ramoe portai portbi portci portdi portao portbo portco portdo trisa trisb trisc trisd ccp1i ccp1o rxdi txcki rxdo txcko docddatai docddatao docdclk prgdatao prgwe
BLOCK DIAGRAM
ALU - Arithmetic Logic Unit performs arithmetic and logic operations during execution of an instruction. This module contains work register (W) and Status register. Control Unit - It performs the core synchronization and data flow control. This module manages execution of all instructions. Performs decode and control functions for all other blocks. It contains program counter (PC) and hardware stack. Hardware Stack - it's a configurable hardware stack. The stack space is not a part of either program or data space and the stack pointer is not readable or writable. The PC is pushed onto the stack when CALL instruction is executed or an interrupt causes a branch. The stack is popped while RETURN, RETFIE and RETLW instruction execution. The stack operates as a circular buffer. This means that after the stack has been pushed eight times, the ninth push overwrites the value that was stored from the first push. RAM Controller - It performs interface functions between Data memory and DRPIC166X internal logic. It assures correct Data Memory addressing and data transfers. The DRPIC166X supports two addressing modes: direct or indirect. In Direct Addressing the 9-bit direct address is computed from RP(1:0) bits (STATUS) and 7 least significant bits of instruction word.
All trademarks mentioned in this document are trademarks of their respective owners.
Interrupt Controller
t0cki
Timer 0
I/O Ports
t1cki
Timer 1
Timer 2
Compare/ Capture/ PWM
clkwdt
Watchdog Timer
USART
DoCDTM Debugger
Timer 0 - Main system's timer and prescaler. This timer operates in two modes: 8-bit timer or 8-bit counter. In the "timer mode", timer registers are incremented every 4 CLK periods. When the prescaler is assigned into the TIMER prescale ration can be divided by 2, 4 .. 256. In the "counter mode" the timer register is incremented every falling or rising edge of T0CKI pin, dependent on T0SE bit in OPTION register.
http://www.DigitalCoreDesign.com http://www.dcd.pl
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.
Timer 1 - Timer 1 is a 16-bit timer consisted of two 8-bit registers (TMR1H and TMR1L). Timer 1 can operate either as a 16 bit timer incremented every CLK clock period or as a Counter incremented by rising edge on the T1CKI input pin. The Timer1 interrupt is generated by the timer overflow. Timer 2 - Is a 8-bit Timer with a prescaler and postscaler. Timer2 is suitable as PWM time-base. The Timer2 module has an 8-bit period register, PR2. Timer2 is incremented until it matches PR2 and then resets on the next increment cycle. The match output of the TMR2 register goes through a 4-bit postscaler to generate a TMR2 interrupt. Interrupt Controller - Interrupt Controller module is responsible for interrupt manage system for the external and internal interrupt sources. It contains interrupt related registers called INTCON, PIE1, PIR1. There are seven individually maskable interrupt sources:
configured as an input (output drivers are set into the High Impedance). CCP/PWM - The CCP module contains a 16bit register which can operate as a 16-bit capture register, 16-bit compare register, or as a PWM master/slave duty cycle register. Watchdog Timer- it's a free running timer. WDT has own clock input separate from system clock. It means that the WDT will run even if the system clock is stopped by execution of SLEEP instruction. During normal operation, a WDT time-out generates a Watchdog reset. If the device is in SLEEP mode the WDT time-out causes the device to wake-up and continue with normal operation. USART - The Universal Synchronous Asynchronous Receiver Transmitter module is also known as a Serial Communication Interface (SCI). The USART can be configured as a full duplex asynchronous system that can communicate with peripheral devices or it can be configured as a half duplex synchronous system (Master or Slave). DoCDTM Debug Unit - it's a real-time hardware debugger provides debugging capability of a whole SoC system. In contrast to other on-chip debuggers DoCDTM provides non-intrusive debugging of running application. It can halt, run, step into or skip an instruction, read/write any contents of microcontroller including all registers, internal, external, program memories, all SFRs including user defined peripherals. Hardware breakpoints can be set and controlled on program memory, internal and external data memories, as well as on SFRs. Hardware breakpoint is executed if any write/read occurred at particular address with certain data pattern or without pattern. The DoCDTM system includes three-wire interface and complete set of tools to communicate and work with core in real time debugging. It is built as scalable unit and some features can be turned off to save silicon and reduce power consumption. A special care on power consumption has been taken, and when debugger is not used it is automatically switched in power save mode. Finally whole debugger is turned off when debug option is no longer used.
Two external interrupts - INT pin, PORTB change (pins B7:B4) Five internal interrupts - Timers 0, 1, 2, USART, CCP1
The interrupt control register INTCON and PIR1 records individual interrupt requests in flag bits. A global interrupt enable bit, GIE and Peripheral interrupts enable bit, PIE enables all unmasked interrupts. Each interrupt source has an individual enable bit, which can enable or disable corresponding interrupt. When an interrupt is responded to, the GIE is cleared to disable any further interrupt, the return address is pushed into the stack and the PC is loaded with 0004h. The interrupt flag bits must be cleared in software before re-enabling interrupts. I/O Ports - Block contains DRPIC166X's general purpose I/O ports and data direction registers (TRIS). The DRPIC166X has four 8bit full bi-directional ports PORT A, PORT B, PORT C, PORT D. Each port's bit can be individually accessed by bit addressable instructions. Read and write accesses to the I/O port are performed via their corresponding SFR's PORTA, PORTB, PORTC, PORTD. The reading instruction always reads the status of Port pins. Writing instructions always write into the Port latches. Each port's pin has an corresponding bit in TRISA, B, C and D registers. When the bit of TRIS register is set this means that the corresponding bit of port is
All trademarks mentioned in this document are trademarks of their respective owners.
http://www.DigitalCoreDesign.com http://www.dcd.pl
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.
OPTIONAL PERIPHERALS
There are also available an optional peripherals, not included in presented DRPIC166X Microcontroller Core. The optional peripherals, can be implemented in microcontroller core upon customer request. SPI - Master and Slave Serial Peripheral Interface
Supports speeds up 1/4 of system clock Mode fault error Write collision error Software selectable polarity and phase of
PERFORMANCE
The following table gives a survey about the Core area and performance in the ALTERA(R) devices after Place & Route:
Speed Logic Cells Fmax grade CYCLONE -6 1654 81 MHz CYCLONE II -6 1654 72 MHz STRATIX -5 1655 86 MHz STRATIX II -3 1401 166 MHz STRATIX GX -5 1655 84 MHz APEX II -7 1695 74 MHz APEX20KC -7 1695 64 MHz APEX20KE -1 1695 54 MHz APEX20K -1 1695 50 MHz ACEX1K -1 1695 52 MHz FLEX10KE -1 1695 54 MHz Core performance in ALTERA(R) devices Device
serial clock SCK
System errors detection Allows operation from a wide range of system
clock frequencies (build-in 5-bit timer)
Interrupt generation
Area utilized by the each unit of DRPIC166X core in vendor specific technologies is summarized in table below.
Component
[LC]
I2C bus controller - Master
7-bit and 10-bit addressing modes NORMAL, FAST, HIGH speeds Multi-master systems supported Clock arbitration and synchronization User defined timings on I2C lines Wide range of system clock frequencies Interrupt generation
Area
[FFs]
CPU* Timer 0 Timer 1 Timer 2 USART CCP1 Watchdog Timer I/O Ports Total area
904 60 81 90 257 111 55 96 1 654
296 29 30 34 100 32 38 64 625
*CPU - consisted of ALU, Control Unit, Bus Controller, Hardware Stack, External INT pin Interrupt Controller, Extended interrupt controller,(512 Bytes RAM and 8kW of program memory)
I2C bus controller - Slave
NORMAL speed 100 kbs FAST speed 400 kbs HIGH speed 3400 kbs Wide range of system clock frequencies User defined data setup time on I2C lines Interrupt generation
Core components area utilization
All trademarks mentioned in this document are trademarks of their respective owners.
http://www.DigitalCoreDesign.com http://www.dcd.pl
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.
IMPROVEMENT
Most instruction of DRPIC166X is executed within 1 CLK period, except program branches that require 2 CLK periods. The table below shows sample instructions execution times:
Mnemonic DRPIC166X operands (CLK cycles) ADDWF 1 ANDWF 1 RLF 1 BCF 1 DECFSZ 1(2)1 INCFSZ 1(2)1 BTFSC 1(2)1 BTFSS 1(2)1 CALL 2 GOTO 2 RETFIE 2 RETLW 2 RETURN 2
1
PIC16C6X
(CLK cycles)
Impr. 4 4 4 4 4 4 4 4 4 4 4 4 4
4 4 4 4 4(8)1 4(8)1 4(8)1 4(8)1 8 8 8 8 8
- number of clock in case that result of operation is 0.
DFPIC&DRPIC FAMILY OVERVIEW
The family of DCD DFPICXX & DRPICXX IP Cores combine a high-performance, low cost, and small compact size, offering the best price/performance ratio in the IP Market. The DCD's Cores are dedicated for use in cost-sensitive consumer products, computer peripherals, office automation, automotive control systems, security and telecommunication applications. DCD's DFPICXX & DRPICXX IP Cores family contains four 8-bit microcontroller Cores to best meet your needs: DFPIC165X 12-bit program word, DFPIC1655X 14-bit program word, and DRPIC1655X and DRPIC166X single cycle microcontrollers with 14-bit program word. All three microcontroller cores are binary compatible with widely accepted PIC16C5X and PIC16CXXX. They employ a modified RISC architecture two or four times faster than the original ones. The DFPICXXX & DRPICXX IP Cores are written in pure VHDL/VERILOG HDL languages which make them technologically independent. All of the DFPICXX & DRPICXX family members supports a power saving SLEEP mode and allows the user to configure the watchdog time-out period and a number of hardware stack levels. DFPICXX & DRPICXX can be fully customized according to customer needs.
Program Memory space Data Memory space Program word length Number of instructions External interrupts Internal Interrupts Levels of hardware stack Wake up on port pin change Watchdog Timer
Sleep Mode
Speed rate
I/O Ports
Design
DFPIC165X DFPIC1655X DRPIC1655X DRPIC166X
2k 64k 64k 64k
128 512 512 512
12 14 14 14
33 35 35 35
24 16 32 32
-
-
-
-
5 5 5
1 1 5
2 8 8 8
-
2 2 4 4
-
2 700 * 3 900 * 4 800 * 6 700
* Optional DFPIC & DRPIC family of High Performance Microcontroller Cores
All trademarks mentioned in this document are trademarks of their respective owners.
http://www.DigitalCoreDesign.com http://www.dcd.pl
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.
Size (gate)
DoCDTM Debugger
Timer 0
Timer 1
Timer 2
USART
CCP1
CONTACTS
For any modification or special request please contact to Digital Core Design or local distributors. Headquarters: Wroclawska 94 41-902 Bytom, POLAND n fo @ d c d .p l e-mail: iinfo@dcd.pl tel. fax : +48 32 282 82 66 : +48 32 282 74 37
Distributors: http://www.dcd.pl/apartn.php Please check http://www.dcd.pl/apartn.php
All trademarks mentioned in this document are trademarks of their respective owners.
http://www.DigitalCoreDesign.com http://www.dcd.pl
Copyright 1999-2007 DCD - Digital Core Design. All Rights Reserved.


▲Up To Search▲   

 
Price & Availability of DRPIC166X

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X